home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 27 / CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso / CUCD / Sound / SPlayer / Socks5 / src / include / includes.h < prev    next >
C/C++ Source or Header  |  1998-07-20  |  3KB  |  134 lines

  1. /* Copyright (c) 1995,1996,1997 NEC Corporation.  All rights reserved.       */
  2. /*                                                                           */
  3. /* The redistribution, use and modification in source or binary forms of     */
  4. /* this software is subject to the conditions set forth in the copyright     */
  5. /* document ("Copyright") included with this distribution.                   */
  6.  
  7. /*
  8.  * $Id: includes.h,v 1.15.2.1.2.3 1998/06/29 22:41:01 salman Exp $
  9.  */
  10.  
  11. #ifndef INCLUDES_H
  12. #define INCLUDES_H
  13.  
  14. /* everybody can include this...it just cleans up the code...                */
  15. /* it might be a bad idea, since it include pretty much everyting...         */
  16.  
  17. #include <sys/types.h>
  18. #include <setjmp.h>
  19.  
  20. #ifdef HAVE_PTHREAD_H
  21. #define POSIX_PTHREAD_SEMANTICS
  22. #if !defined(_REENTRANT) && !defined(_OSF_SOURCE)
  23. #define _REENTRANT
  24. #endif
  25. #endif
  26.  
  27. #ifdef TIME_WITH_SYS_TIME
  28. #include <sys/time.h>
  29. #include <time.h>
  30. #elif defined(HAVE_SYS_TIME_H)
  31. #include <sys/time.h>
  32. #elif defined(HAVE_TIME_H)
  33. #include <time.h>
  34. #endif
  35.  
  36. #ifdef HAVE_SYS_SELECT_H
  37. #include <sys/select.h>
  38. #endif
  39.  
  40. #ifdef HAVE_SYS_STAT_H
  41. #include <sys/stat.h>
  42. #endif
  43. #ifdef HAVE_SYS_FILE_H
  44. #include <sys/file.h>
  45. #endif
  46. #ifdef HAVE_SYS_PARAM_H
  47. #include <sys/param.h>
  48. #endif
  49. #ifdef HAVE_SYS_SOCKET_H
  50. #include <sys/socket.h>
  51. #endif
  52. #ifdef HAVE_SYS_UIO_H
  53. #include <sys/uio.h>
  54. #endif
  55.  
  56. #ifdef HAVE_SYS_SOCKIO_H
  57. #include <sys/sockio.h>
  58. #endif
  59. #ifdef HAVE_SYS_SIGNAL_H
  60. #include <sys/signal.h>
  61. #endif
  62. #ifdef HAVE_SYS_WAIT_H
  63. #include <sys/wait.h>
  64. #endif
  65. #ifdef HAVE_SYS_BITYPES_H
  66. #include <sys/bitypes.h>
  67. #endif
  68.  
  69. #include <netinet/in.h>
  70.  
  71. #ifdef HAVE_NETINET_IN_SYSTM_H
  72. #include <netinet/in_systm.h>
  73. #endif
  74.  
  75. #include <pwd.h>
  76. #include <ctype.h>
  77. #include <errno.h>
  78. #include <netdb.h>
  79. #include <stdio.h>
  80. #include <signal.h>
  81. #include <limits.h>
  82. #include <arpa/inet.h>
  83.  
  84. #ifdef HAVE_STDLIB_H
  85. #include <stdlib.h>
  86. #endif
  87. #ifdef HAVE_UNISTD_H
  88. #include <unistd.h>
  89. #endif
  90.  
  91. #ifdef HAVE_STRING_H
  92. #include <string.h>
  93. #endif
  94. #if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H)
  95. #include <memory.h>
  96. #endif
  97. #ifdef HAVE_STRINGS_H
  98. #include <strings.h>
  99. #endif
  100. #ifdef HAVE_BSTRING_H
  101. #include <bstring.h>
  102. #endif
  103.  
  104. #ifdef HAVE_MALLOC_H
  105. #include <malloc.h>
  106. #endif
  107.  
  108. #ifdef HAVE_FCNTL_H
  109. #include <fcntl.h>
  110. #endif
  111.  
  112. #ifdef HAVE_SYS_FCNTL_H
  113. #include <sys/fcntl.h>
  114. #endif
  115.  
  116. #ifdef HAVE_SYS_IOCTL_H
  117. #include <sys/ioctl.h>
  118. #endif
  119.  
  120. #ifdef HAVE_SYS_FILIO_H
  121. #include <sys/filio.h>
  122. #endif
  123.  
  124.  
  125. #ifdef HAVE_SHL_LOAD
  126. #include <dl.h>
  127. #endif
  128.  
  129. #ifdef HAVE_DLOPEN
  130. #include <dlfcn.h>
  131. #endif
  132.  
  133. #endif
  134.